* {
    margin: 0;
    padding: 0;
}
html,body {
    width: 100%;
    height: 100%;
    background-color: #fff;
}
.ui-login {
    display: block;
    width: 100%;
    height: 100%;
    background-color: #fff;
}
.ui-login__icon {
    display: block;
    width: 100%;
    padding-top: 1rem;
    &>img {
        display: block;
        width: 1.8rem;
        height: 1.8rem;
        margin: 0 auto;
    }
}
.ui-login__block {
    display: block;
    width: 100%;
    padding: .5rem .46rem 0;
}
.ui-login__item {
    display: block;
    width: 100%;
    height: 1.3rem;
    border-bottom: 1px solid #EFEFEF;
    margin-bottom: .2rem;
    &.is-code {
        height: 1.15rem;
    }
}
.ui-item__title {
    display: block;
    position: relative;
    width: 100%;
    height: .52rem;
    line-height: .52rem;
    font-size: .32rem;
    color: #232323;
    padding-left: .74rem;
    .ui-title__icon {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: .48rem;
        height: .52rem;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: .28rem .4rem;
    }
    .phone{
        background-image: url(../../image/account/phone.png);
    }
    .mail{
        background-image: url(../../image/account/mail.png);
    }
    .psw{
        background-image: url(../../image/account/lock.png);
    }
    .from{
        background-size: .36rem .36rem;
        background-image: url(../../image/account/from.png);
    }
}
.ui-item__input {
    display: block;
    position: relative;
    width: 100%;
    height: .8rem;
    font-size: .32rem;
    color: #232323;
    padding: .2rem .74rem;
    .ui-input__icon {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: .48rem;
        height: .8rem;
        line-height: .8rem;
        font-size: .24rem;
        color: #232323;
        background-position: center center;
        background-repeat: no-repeat;
    }
    .eye{
        background-size: .28rem .16rem;
        background-image: url(../../image/account/eye.png);
    }
    input {
        display: block;
        width: 100%;
        height: .32rem;
        line-height: .32rem;
        font-size: .28rem;
        border: none;
        outline: none;
        background-color: #fff;
    }
    .ui-input__del {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        width: .72rem;
        height: .8rem;
        background-position: center center;
        background-size: .36rem .36rem;
        background-repeat: no-repeat;
        background-image: url(../../image/account/del.png);
    }
    .ui-item-btn{
        display: block;
        position: absolute;
        top: .16rem;
        right: 0;
        width: 1.7rem;
        height: .4rem;
        line-height: .24rem;
        font-size: .24rem;
        color: #fff;
        padding: .08rem;
        border-radius: .2rem;
        text-align: center;
        background-color: #F098EF;
        border: none;
        outline: none;
    }
}
.ui-agree-block{
    width: 100%;
    position: relative;
    height: .8rem;
    line-height: .8rem;
    font-size: .3rem;
    color: #333;
    padding-left: .8rem;
    margin-bottom: .4rem;
    .ui-agree-box{
        display: block;
        position: absolute;
        top: .22rem;
        left: .28rem;
        width: .36rem;
        height: .36rem;
        border: 1px solid #555;
        border-radius: .1rem;
        .ui-agree-check{
            display: block;
            position: absolute;
            top: 0;
            left: 0;
            width: .36rem;
            height: .36rem;
            background-position: center center;
            background-repeat: no-repeat;
            background-size: .36rem .36rem;
            background-image: url(../../image/account/check.png);
        }
    }
    .ui-agree-book{
        color: #ea39b9;
    }
}
.ui-btn {
    display: block;
    width: 4rem;
    height: .88rem;
    line-height: .34rem;
    font-size: .34rem;
    text-align: center;
    margin: 0 auto;
    color: white;
    border-radius: .44rem;
    padding: .27rem 0;
    cursor: pointer;
    margin-bottom: .3rem;
    letter-spacing: 2px;
}
.margin-bottom-60 {
    margin-bottom: .6rem;
}
.login {
    background-color: #F098EF;
}
.regist {
    background-color: #571A92;
}
.forgetPsw {
    background-color: #ea39b9;
}
.ui-login__option {
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -2.3rem;
    width: 4.6rem;
    height: 2rem;
    text-align: center;
    font-size: 0;
    &>p {
        display: block;
        position: relative;
        width: 4.5rem;
        height: .54rem;
        line-height: .54rem;
        text-align: center;
        color: #232323;
        font-size: .2rem;
        margin-bottom: .2rem;
        &:before{
            content: '';
            display: block;
            position: absolute;
            left: 50%;
            margin-left: 1rem;
            top: .28rem;
            width: 2rem;
            height: 1px;
            background-color: #EFEFEF;
            transform: scale(1, 0.5);
            transform-origin: center center;
        }
        &:after {
            content: '';
            display: block;
            position: absolute;
            right: 50%;
            margin-right: 1rem;
            top: .28rem;
            bottom: 0;
            width: 2rem;
            height: 1px;
            background-color: #EFEFEF;
            transform: scale(1, 0.5);
            transform-origin: center center;
        }
    }
}
.weChat {
    display: inline-block;
    width: .88rem;
    height: .88rem;
    margin-right: .48rem;
    // float: left;
    &>img {
        display: block;
        margin: 0 auto;
        width: .4rem;
        height: .4rem;
    }
}
.weiBo {
    display: inline-block;
    width: .88rem;
    height: .88rem;
    margin-left: .48rem;
    &>img {
        display: block;
        margin: 0 auto;
        width: .4rem;
        height: .4rem;
    }
}
.qq {
    display: inline-block;
    width: .88rem;
    height: .88rem;
    // float: right;
    &>img {
        display: block;
        margin: 0 auto;
        width: .4rem;
        height: .4rem;
    }
}
.ui-sex__block {
    display: block;
    width: 100%;
    height: 2rem;
    padding: .2rem .46rem .1rem;
    .ui-sex__item {
        display: block;
        float: left;
        width: 50%;
        height: 2.4rem;
        .ui-sex_top {
            position: relative;
            width: 1rem;
            height: 1.3rem;
            margin: 0 auto;
            .ui-sex__img {
                display: block;
                margin: 0 auto;
                width: 1rem;
                height: 1.3rem;
                margin-bottom: .35rem;
            }
            .icon-selected {
                position: absolute;
                width: .3rem;
                height: .3rem;
                border-radius: 100%;
                background-color: #F098EF;
                position: absolute;
                margin: auto;
                right: 0;
                bottom: 0;
                &::after {
                    content: "";
                    color: #fff;
                    display: block;
                    width: .26rem;
                    height: .26rem;
                    position: absolute;
                    margin: auto;
                    left: 0.02rem;
                    bottom: 0;
                    background-repeat: no-repeat;
                    background-size: 100% 100%;
                    background-position: center center;
                    background-image: url(../../image/account/selected-sex.png);
                    // text-align: center;
                    // font-size: .3rem;
                }
            }
        }
        .ui-sex__info {
            display: block;
            width: 100%;
            height: .3rem;
            line-height: .3rem;
            font-size: .3rem;
            color: #232323;
            text-align: center;
            margin-top: .3rem;
        }
        .selected::after {
            content: "";
            display: block;
            width: .3rem;
            height: 1px;
            background-color: #F098EF;
            margin: 0 auto;
            margin-top: .2rem;
        }
    }
}
